/**
 *@author readkid
 *@dependence jquery 1.2
 *@since 2010/1/15
 *@version 1.0
 */ 
(function () {
	//using namespace $.suning;
	$.suning || ($.suning = {});
	//Extends
	$.suning.extend = function (subClass, superClass) {
		var F = function() {};
		F.prototype = superClass.prototype;
		subClass.prototype = new F();
		superClass.prototype.constructor = superClass;
		subClass.prototype.constructor = subClass;
		subClass.base = superClass.prototype;
	}
})();
var scrolltotop={
	//startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
	//scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
	setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
	controlHTML: '<img src="themes/mbts1forgreen/images/backtotop.gif" style="width:20px; height:63px" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
	controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ bottom of window corner
	anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links

	state: {isvisible:false, shouldvisible:false},

	scrollup:function(){
		if (!this.cssfixedsupport) //if control is positioned using JavaScript
			this.$control.css({opacity:0}) //hide control immediately after clicking it
		var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
		if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
			dest=jQuery('#'+dest).offset().top
		else
			dest=0
		this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
	},

	keepfixed:function(){
		var $window=jQuery(window)
		var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
		var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
		this.$control.css({left:controlx+'px', top:controly+'px'})
		if(controlx + this.$control.width() > 980){
  controlx = 980 - this.$control.width()
}
	},

	togglecontrol:function(){
		var scrolltop=jQuery(window).scrollTop()
		if (!this.cssfixedsupport)
			this.keepfixed()
		this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
		if (this.state.shouldvisible && !this.state.isvisible){
			this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
			this.state.isvisible=true
		}
		else if (this.state.shouldvisible==false && this.state.isvisible){
			this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
			this.state.isvisible=false
		}
	},
	
	init:function(){
		jQuery(document).ready(function($){
			var mainobj=scrolltotop
			var iebrws=document.all
			mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
			mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
			mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
				.css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
				.attr({title:'Scroll Back to Top'})
				.click(function(){mainobj.scrollup(); return false})
				.appendTo('body')
			if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
				mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
			mainobj.togglecontrol()
			$('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
				mainobj.scrollup()
				return false
			})
			$(window).bind('scroll resize', function(e){
				mainobj.togglecontrol()
			})
		})
	}
}

scrolltotop.init()
//SideNav
$.suning.MenuNav = function() {
	var timer;
	if($("#SideNav").css("display") == "none"){
		$(".sn_Menu").hover(function(){
			clearInterval(timer);					 
			$("#SideNav").css("display","block");	
			$(this).find(".sn_Menuicon").addClass("on");
						
			$("#SideNav").find("dl").each(function(i){
				$(this).mouseover(function() {
					navshow(i);
				});				   
			});
			
			function navshow(i){
				$("#SideNav").find(".icon").removeClass('on').eq(i).addClass("on");
				$("#SideNav").find(".sidenavchild").hide().eq(i).show();
			};
			
		},function(){
			timer = setInterval(function(){
				$("#SideNav").css("display","none");
			},1);
			$("#SideNav").find(".icon").removeClass('on');	
			$(this).find(".sn_Menuicon").removeClass("on");
			$(this).find(".sidenavchild").hide();
		});
		
	}else{	
		$("#SideNav").find("dl").each(function(i){
			$(this).mouseover(function(){
				$(this).find(".icon").addClass("on");	
				$(this).find(".sidenavchild").css("display","block");
			}).mouseout(function(){
				$(this).find(".icon").removeClass("on");	
				$(this).find(".sidenavchild").css("display","none");				
			})										   
		});		
	}
	
} 


/* tab点击 */
$.suning.TabClick = function(id,showId){
	$("#"+id).find("li").each(function(i){
		$(this).find("a").mouseover(function(e){
			$(this).addClass("on").parent().siblings().find("a").removeClass("on");	
			$("."+showId).hide().eq(i).show();
		})
	});	
}


/* 切换事件 */
$.suning.IndexTab = function(){
	var index = 0 ;
	var timer,settime;
	
	$("#sn_sevice").hover(function(){
		$("#sn_seviceMore").show();						   
	},function(){
		$("#sn_seviceMore").hide();
	});
	
	$("#basket").hover(function(){
		$("#basketShow").show();
	},function(){
		$("#basketShow").hide();
	});
	
	var len = $("#Package").find("li").length ;
	$("#Package").find(".Package ul").width(576*len);
	$("#Package").find(".Packageright a").click(function(){
		if(index>=len-1){
			return false;
		}												 
		index ++ ;												 
		$("#Package").find(".Package ul").stop().animate({"marginLeft":-576*index},300);
	});
	
	$("#Package").find(".Packageleft a").click(function(){
		if(index<=0){
			return false;
		}												 
		index -- ;												 
		$("#Package").find(".Package ul").stop().animate({"marginLeft":-576*index},300);
	});
	
	$("#Package").hover(function(){
		 clearInterval(timer);
	},function(){
		timer = setInterval(function(){
		   if(index==len-1){index=-1;}						 
		   index++;						
		   $("#Package").find(".Package ul").stop().animate({"marginLeft":-576*index},300);		
		} , 4000);
	}).trigger("mouseleave");
	
	
	$("#promoreTab").find("a").click(function(e){
		e.preventDefault();									  
		index  =  $("#promoreTab a").index(this);	
		scrollAuto(index);
	});	
	
	$("#promoreTab").hover(function(){
		 clearInterval(timer);
	},function(){
		timer = setInterval(function(){
		   scrollAuto(index);			
		   index++;
		   if(index==7){index=0;}
	    } , 3600);
	}).trigger("mouseleave");
	
	function scrollAuto(index){
		$("#promoreTab").find("a").eq(index).addClass("on").siblings().removeClass("on");	
		$("#promoreTabList li").hide().eq(index).show();		
	};
}



//排行榜
var snTopList = function(tabId,id){
	var btn = $('#'+id).find('li');
	var len = btn.length ;
	return{
		init:function(){
			var that = this ;
			$("#"+tabId).find("a").mouseover(function(e){
				e.preventDefault();								 
				$(this).addClass("on").parent().siblings().find("a").removeClass("on");
				var href = $(this).attr("href");
				$("#"+id).html("<div class='snToploading'></div>");
				$.post(href,function(data){
					$("#"+id).html(data);	
					snTopList('indexTab01','indexTopList01').changelist();	
					snTopList('indexTab02','indexTopList02').changelist();	
				});
			}).click(function(e){
				return false;
				}).bind('focus', function(){    
				if(this.blur){ 
				   this.blur();    
				}    
  			});							  
			
			that.changelist();
			
			
			$("#tabIndex01").find("li").each(function(i){
				$(this).find("a").mouseover(function(){
					$(this).addClass("on").parent().siblings().find("a").removeClass('on');							 
					$(".tabIndexContent01").hide().eq(i).show();							 
				})									   
			});
			
			$("#tabIndex02").find("li").each(function(i){
				$(this).find("a").mouseover(function(){
					$(this).addClass("on").parent().siblings().find("a").removeClass('on');								 
					$(".tabIndexContent02").hide().eq(i).show();							 
				})									   
			});
			
		},
		changelist:function(){
			btn.each(function(i){
				$(this).mouseover(function(){
					$(this).addClass('on').siblings().removeClass('on');
					btn.eq(0).find(".topshow").hide();
					btn.eq(0).find(".tophide").show();
					for(var j=0;j<len;j++){
						btn.eq(j).find(".topshow").hide();
						btn.eq(j).find(".tophide").show();
					}
					$(this).find(".topshow").show();
					$(this).find(".tophide").hide();
				});
			});
		}
	}
}


$(document).ready(function() {
	$.suning.MenuNav();					   
	$.suning.TabClick('snTab','sn_noice_list');
	$.suning.IndexTab();
	snTopList('indexTab01','indexTopList01').init();	
	snTopList('indexTab02','indexTopList02').init();
		
	$(".allProItem").mouseover(function(){$(this).addClass("allProItemFocus");}).mouseout(function(){$(this).removeClass("allProItemFocus");});	
});
$(function(){
    var _titleHeight = 0;
    $('.gmg').each(function(){
        var $this = $(this),
            _height = $this.height(),
            $caption = $('.caption', $this),
            _captionHeight = $caption.outerHeight(true),
            _speed = 200;
        $this.hover(function(){
            $caption.stop().animate({
                top: _height - _captionHeight
            }, _speed);
        }, function(){
            $caption.stop().animate({
                top: _height - _titleHeight
            }, _speed);
        });
    });
});
eval(function(MSClass){var d=MSClass,p=d[0],k=d[1],c=k.length,a=62,e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(['16 1y(){18 c=1G,b=1w,a;13(1u c.4r!="16"){17 6u 1y(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12])}c.$=16(d){17 1q.6t(d)};c.t=(c.F=["3r 2.9.6s 6r","6q 6p 1y 1W","6o 6n 6m(6l)","6k://6j.6i.6h/6g/3r.6f","6e 6d(6c) 6b@6a.69"]).68("\\n");c.a=b[0]["3r"]||b[0]||b[0][0];c.b=(c.c=1u c.a=="39"?c.$(c.a[0])||c.$(c.a.4n):c.$(c.a))&&c.4r.1P().2D(4q>>>4p,14>>4o)==c.F[1].2D(4q>>>4p,14>>4o);13(!c.c||!c.b){17 2m("40 ["+(c.a.4n||c.a[0]||c.a)+"] 67 66!")||(c.c=-1)}c.45=1+(c.i=c.21=-1);c.J=c.f=c.q=c.r=c.s=c.B=c.u=c.k=c.I=c.d=c.j=0;c.19=b[1]||b[0]["19"]||0;c.1c=b[2]||b[0]["1c"]||1;c.W=c.1D=(a=b[3]||b[0]["1D"]||0)==0?1k(c.c.15.1J):a;c.H=c.1C=(a=b[4]||b[0]["1C"]||0)==0?1k(c.c.15.1R):a;c.1I=(a=b[5]||b[0]["1I"]||0)<20?(a*10||20):a;c.1n=(a=b[6]||b[0]["1n"]||0)<=4m?a*3l:a;c.1X=(a=b[7]||b[0]["1X"]||0)<=4m?(a*3l||2O):a;c.1d=b[8]||b[0]["1d"]||0;c.2g=b[9]||b[0]["2g"]||0;c.2f=b[10]||b[0]["2f"];c.2T=c.$(b[11]||b[0]["65"])||0;c.2S=c.$(b[12]||b[0]["64"])||0;c.c.15.31=c.c.15.3X=c.c.15.3W="2x";13(b.1j>=7||b[0]["63"]==1){c.2Y()}}1y.3C.2Y=16(){13(1G.c==-1||1G.i>=0){13(1G.i==2){1G.2p()}17 1l}18 g=1G,a,r,U,O,u,T,f="62",S=1y,I=0,p=[],H=0,F=0,c=0,P={61:-2,60:-1,5Z:-1,1H:0,5Y:0,5X:1,5W:1,2y:2,5V:3,5U:4,5T:5},h=0,C=0,Y=0,x=0,s=0,q=0,K=0,Q=0,b=[],X=1v,t=0,k=0,L=g.1d,y=0,J=0,w=[],R=0,E=0,G=0;13(!S.H){S.m=(1q.3m)?1:0;S.H=16(m,j,i){i?0:i=0;17 S.m?(m.1U[j]!="4l"&&m.1U[j]!="4k"&&m.1U[j]!="4j"&&m.1U[j]!="5S"&&m.1U[j]!="5R"&&m.1U[j]!="3k")?m.1U[j]:i:(1m.2j(m,1v)[j]!="4l"&&1m.2j(m,1v)[j]!="4k"&&1m.2j(m,1v)[j]!="4j"&&1m.2j(m,1v)[j]!="41"&&1m.2j(m,1v)[j]!="3k")?1m.2j(m,1v)[j]:i};18 v=16(m){18 i=m||1m.1z;18 j=i.5Q||i.5P;13(j==5O){2m(g.t)}};S.m?1H.1q.2s("5N",v):1H.1q.2r("5M",v,1V);S.1M={5L:16(i,m,j){},5K:16(i,m,j){17 m*(i/=j)*i},5J:16(i,m,j){17-m*(i/=j)*(i-2)},5I:16(i,m,j){13((i/=j/2)<1){17 m/2*i*i}17-m/2*((--i)*(i-2)-1)},5H:16(i,m,j){17 m*(i/=j)*i*i},5G:16(i,m,j){17 m*((i=i/j-1)*i*i+1)},5F:16(i,m,j){13((i/=j/2)<1){17 m/2*i*i*i}17 m/2*((i-=2)*i*i+2)},5E:16(i,m,j){17 m*(i/=j)*i*i*i},5D:16(i,m,j){17-m*((i=i/j-1)*i*i*i-1)},5C:16(i,m,j){13((i/=j/2)<1){17 m/2*i*i*i*i}17-m/2*((i-=2)*i*i*i-2)},5B:16(i,m,j){17 m*(i/=j)*i*i*i*i},5A:16(i,m,j){17 m*((i=i/j-1)*i*i*i*i+1)},5z:16(i,m,j){13((i/=j/2)<1){17 m/2*i*i*i*i*i}17 m/2*((i-=2)*i*i*i*i+2)},5y:16(i,m,j){17-m*1a.4i(i/j*(1a.1x/2))+m},5x:16(i,m,j){17 m*1a.2o(i/j*(1a.1x/2))},5w:16(i,m,j){17-m/2*(1a.4i(1a.1x*i/j)-1)},5v:16(i,m,j){17(i==0)?0:m*1a.1L(2,10*(i/j-1))},5u:16(i,m,j){17(i==j)?m:m*(-1a.1L(2,-10*i/j)+1)},5t:16(i,m,j){13(i==0){17 0}13(i==j){17 m}13((i/=j/2)<1){17 m/2*1a.1L(2,10*(i-1))}17 m/2*(-1a.1L(2,-10*--i)+2)},5s:16(i,m,j){17-m*(1a.2H(1-(i/=j)*i)-1)},5r:16(i,m,j){17 m*1a.2H(1-(i=i/j-1)*i)},5q:16(i,m,j){13((i/=j/2)<1){17-m/2*(1a.2H(1-i*i)-1)}17 m/2*(1a.2H(1-(i-=2)*i)+1)},2w:16(j,1h,1g){18 m=1.2i;18 Z=0;18 i=1h;13(j==0){17 0}13((j/=1g)==1){17 1h}13(!Z){Z=1g*0.3}13(i<1a.3q(1h)){i=1h;18 m=Z/4}1f{18 m=Z/(2*1a.1x)*1a.3p(1h/i)}17-(i*1a.1L(2,10*(j-=1))*1a.2o((j*1g-m)*(2*1a.1x)/Z))},3R:16(j,1h,1g){18 m=1.2i;18 Z=0;18 i=1h;13(j==0){17 0}13((j/=1g)==1){17 1h}13(!Z){Z=1g*0.3}13(i<1a.3q(1h)){i=1h;18 m=Z/4}1f{18 m=Z/(2*1a.1x)*1a.3p(1h/i)}17 i*1a.1L(2,-10*j)*1a.2o((j*1g-m)*(2*1a.1x)/Z)+1h},5p:16(j,1h,1g){18 m=1.2i;18 Z=0;18 i=1h;13(j==0){17 0}13((j/=1g/2)==2){17 1h}13(!Z){Z=1g*(0.3*1.5)}13(i<1a.3q(1h)){i=1h;18 m=Z/4}1f{18 m=Z/(2*1a.1x)*1a.3p(1h/i)}13(j<1){17-0.5*(i*1a.1L(2,10*(j-=1))*1a.2o((j*1g-m)*(2*1a.1x)/Z))}17 i*1a.1L(2,-10*(j-=1))*1a.2o((j*1g-m)*(2*1a.1x)/Z)*0.5+1h},2Z:16(i,Z,m,j){13(j==3o){j=1.2i}17 Z*(i/=m)*i*((j+1)*i-j)},3Q:16(i,Z,m,j){13(j==3o){j=1.2i}17 Z*((i=i/m-1)*i*((j+1)*i+j)+1)},5o:16(i,Z,m,j){13(j==3o){j=1.2i}13((i/=m/2)<1){17 Z/2*(i*i*(((j*=(1.4h))+1)*i-j))}17 Z/2*((i-=2)*i*(((j*=(1.4h))+1)*i+j)+2)},4g:16(i,m,j){17 m-S.1M.3n(j-i,m,j)},3n:16(i,m,j){13((i/=j)<(1/2.1T)){17 m*(7.2G*i*i)}1f{13(i<(2/2.1T)){17 m*(7.2G*(i-=(1.5/2.1T))*i+0.1T)}1f{13(i<(2.5/2.1T)){17 m*(7.2G*(i-=(2.25/2.1T))*i+0.5n)}1f{17 m*(7.2G*(i-=(2.5m/2.1T))*i+0.5l)}}}},5k:16(i,m,j){13(i<j/2){17 S.1M.4g(i*2,m,j)*0.5}17 S.1M.3n(i*2-j,m,j)*0.5+m*0.5}}}g.1D=g.W;g.1C=g.H;13(1u g.W=="2a"){g.1D=g.c.4f.48*1k(g.W)/2d}13(1u g.H=="2a"){g.1C=g.c.4f.47*1k(g.H)/2d}g.c.15.1J=g.1D+"1i";g.c.15.1R=g.1C+"1i";13(1u g.19=="2a"){g.19=P[g.19.1P().2v()]}G=g.19>1?1:0;a=G?"<2E 4a=\'0\' 49=\'0\' 15=\'3j-2F:2F;1N:3i;\'><2h><1K 35=1V 15=\'4e-4d: 34;4c-1B:4b-3m;\'>2e</1K><1K 35=1V 15=\'4e-4d: 34;4c-1B:4b-3m;\'>2e</1K></2h></2E>":"<2E 4a=\'0\' 49=\'0\' 15=\'3j-2F:2F;\'><2h><1K>2e</1K></2h><2h><1K>2e</1K></2h></2E>";r=G?g.1D:g.1C;U=G?"48":"47";g.d=G?"5j":"5i";g.w=G?"2y":"1H";g.n=g.c.1o;13(g.1c.1j){g.k=(16(i){g.1c=g.1c[0]<1?46(g.1c[0].1P().32("0.","")):46(g.1c[0]);1t(W 5h S.1M){18 j=++j||0;13((W.2D(4)==i||i.2D(4)==W||W==i||i==j)&&j>=0){I=j;17 W}}})(g.1c[1].1P().2v()).1P()}13(g.1c<1){g.k=g.1c}13(g.1c>=r){g.2g=5}g.45=g.1c;2P(g.2g){1A 0:g.1d=g.1d||r;1B;1A 1:R=k=1;1B;1A 3:g.I=Q=1;1B;1A 4:L=L||1;y=1;1B;1A 5:k=2;g.k=0;L=L||1;y=g.1d<10?1:0;1B;5g:g.2g==2?H=1:g.q=S.m?g.2g:1-(H=1);13(L>0){R=E=1-(H=0);g.1d=r}13(S.m&&g.q>0){g.c.15.2t="1Q(5f="+(g.1n/3l*0.2)+",30="+(g.q-10)+")";13(g.q>=33||g.q<10){g.c.2c.1Q.30=1a.2l(1a.3U()*22)}g.c.2c.1Q.3T();g.c.2c.1Q.3S()}g.1c=r;I=g.k=1-(k=1)}13(R==1){g.c.15.1Z=S.H(g.c,"1Z","5e")}13(g.2f){18 N=(1u g.2f)=="2a"?[g.2f]:g.2f;1t(W=0;W<N.1j;W++){18 B=g.$(N[W]);13(B&&B.15.1N=="1Y"){g.f=1;p[W]=[B,S.H(B,"1Z","3k"),S.H(B,"1H")];B.15.1Z="3Y";B.15.3E="2x";B.15.1H="-5d";B.15.1N="44"}}}(g.G=16(){13(1u g.a=="39"&&(!g.a.1j||g.a.1j>0)){g.D=g.$(g.a[1])||g.$(g.a.5c);13(g.D){18 1E=0;13(g.D.2B=="42"||g.D.2B=="5b"){g.D.15.2A=g.D.15.3j=g.D.15.38="0";13(G&&S.m){g.D.15.1J="5a"}}g.D.15.1N="3i-44";g.D.15.43=g.D.15.38=0;g.D.15.37="1Y";1t(18 1g=0,Z=g.D.1r.1j;1g<Z;1g++){18 1e=g.D.1r[1g];13(1e.36==1){1e.15.37="1Y";13(G){1e.15.59=1e.15.58="2y";1e.15.1N="3i";1e.15.3h=S.H(1e,"3h");1e.15.3g=S.H(1e,"3g");1e.15.3f=S.H(1e,"3f");1e.15.3e=S.H(1e,"3e");1E+=(w[w.1j]=1e[U]+1k(1e.15.3h)+1k(1e.15.3g)+1k(1e.15.3f)+1k(1e.15.3e))}1f{1e.15.57="56";1e.15.3d=S.H(1e,"3d");1e.15.3c=S.H(1e,"3c");1e.15.3b=S.H(1e,"3b");1e.15.3a=S.H(1e,"3a");1E+=(w[w.1j]=1e[U]+1k(1e.15.3d)+1k(1e.15.3c)+1k(1e.15.3b)+1k(1e.15.3a))}13(Q){b[b.1j]=1e}}}13(g.19<=1){1E=g.D[U]}t=1E;J=w.1j;G?(g.D.15.1J=1E+"1i")||(g.D.15.1R=g.1C+"1i"):(g.D.15.1R=1E+"1i")||(g.D.15.1J=g.1D+"1i");g.C=1k(g.c[U]/g.1d);g.B=g.1b=1;g.v=[];13(1u g.a=="39"&&(!g.a.1j||g.a.1j>1)){18 1S=g.$(g.a[2])||g.a[2]||g.$(g.a.55);13(1S&&(1S.1j||1S.2B)){18 1h=(g.a[3]||g.a.54||"2k").1P().2v();(1h=="2k"||1h=="2R")?0:1h="2k";18 m=(g.a[4]||g.a.53||0);g.1d=r;18 2n=1k(g.c[U]/g.1d);l=1S.1j||1;18 1F=0,1p=1S;1t(18 2C=0;2C<l;2C++){13(l>1){1p=g.$(1S[2C])}1p.15.43=1p.15.38=0;1p.15.37="1Y";13(1p.2B=="42"){1p.15.2A="0"}g.C=1p.1r.1j;1t(18 1g=0;1g<g.C;1g++){13(1p.1r[1g].36==1){13(2n==1F){1p.1r[1g].15.1N="1Y";52}1p.1r[1g].15.2A=S.H(1p.1r[1g],"2A","41");1p.1r[1g].15.31="2x";g.v[1F]=1p.1r[1g];g.v[1F][1h]=(16(i){17 16(){K=1s(16(){g.u=1;1t(18 2z=0;2z<g.v.1j;2z++){g.v[2z].2b=""}g.v[i].2b=f;e(i)},m)}})(1F);g.v[1F].2I=(16(i){17 16(){1O(K);13(g.u==1){g.u=0;13(g.i==0){28(s);s=2u(x,g.1I)}1f{1O(q);q=1s(n,g.1n)}z(i)}}})(1F);1F+=1}}}g.C=1F;g.r=g.C>1?1:0;13(g.v.1j>0){g.v[0].2b=f}13(g.C>0&&2n>g.C){g.s=2n-g.C;1t(18 Z=0;Z<g.v.1j;Z++){g.v[Z].2k=g.v[Z].2I=16(){}}g.C=2n;2m("40 ["+g.c.51+"] 3Z 50 4Z 4Y 4X ["+g.s+"] 4W 4V 3Z!")||0}}}13(Q==0&&(k==0||k==2)&&H==0&&g.q==0&&g.19>=0&&g.19<=3){13(G){g.D.15.1J=1E*2+"1i";g.D.15.1R=g.1C+"1i";g.D.1o+=g.D.1o}1f{g.D.15.1J=g.1D+"1i";g.D.15.1R=1E*2+"1i";g.D.1o+=g.D.1o}}}}})();13(g.B==0&&Q){1t(18 W=0,V=g.c.1r.1j;W<V;W++){13(g.c.1r[W].36==1){b[b.1j]=g.c.1r[W]}}}13(g.B==0&&Q==0&&(g.19==0||g.19==1)){g.c.1o=a.32(/2e/g,g.c.1o)}1f{13(g.B==0&&Q==0&&(g.19==2||g.19==3)){g.c.35=1V;g.c.15.4U="34";(g.1d==0&&g.1n==0)?g.c.1o+=g.c.1o:g.c.1o=a.32(/2e/g,g.c.1o)}1f{13(g.19==5||g.19==-2||g.19==4||g.19==-1){13(g.19==5||g.19==-2){g.J=1}g.19=22%g.19;g.I=1}}}O=g.1d;u=g.19;T=g.k;13(R==1){g.E=1q.4T("4S");g.E.15.1J=g.1D+"1i";g.E.15.1R=g.1C+"1i";g.E.15.1Z="3Y";g.E.15[g.w]=g.19%2?-r+"1i":r+"1i";G?g.E.15.1H="0":g.E.15.2y="0";g.E.1o=g.c.1o;g.E.15.31=g.E.15.3X=g.E.15.3W="2x";g.c.3I(g.E);g.E[g.d]=r}18 x=16(){g.k>0?g.1c=1a.4R((g.1d-c)*g.k):0;g.1W()};18 z=16(j){13(g.i==2){17 1l}13(g.J){u=u>1?2:0}13(R==1){j+1>=g.C?g.E[g.d]=0:g.E[g.d]=r*(j+1)}};18 e=16(j){13(g.i==2){17 1l}1O(q);28(s);13(k==0){g.1b=1k(g.c[g.d]/O)+1;13(j+1==g.1b&&g.c[g.d]%O==0){17 1l}13(g.1b>g.C){g.1b-=g.C}j+=1;g.u=1;13(j<=g.1b){g.1d=O*(g.1b-j)+g.c[g.d]%O;g.19=G?3:1}1f{13(j-g.1b==g.C-1){13(I==24){g.k="2w"}13(I==27||I==26){g.k="2Z"}}13(g.1b<=2&&j==g.C&&I==23){g.k="2w"}g.1d=O*(j-g.1b)-g.c[g.d]%O;g.19=G?2:0}}1f{13(k==1){13(g.i==0&&g.I==1){g.19=G?5-g.19:1-g.19;u=g.19}13(R==1){g.19%2?g.E.15[g.w]=-r+g.c[g.d]+"1i":g.E.15[g.w]=r+g.c[g.d]+"1i";j==g.C?g.E[g.d]=1-(g.1b=1):g.E[g.d]=r*j}g.1b=j+1}1f{13(k==2){g.c[g.d]=j*g.1c;17 1l}}}13(g.1d>0){n(j+1)}};18 M=16(m){1O(F);18 j=m||g.c,i=E==1?2d:5;E==1?(16(){S.m?j.15.2t="2W(29="+i+")":j.15.29=(i/2d);i-=5;13(i>=0){F=1s(1w.3V,g.1I)}})():(16(){S.m?j.15.2t="2W(29="+i+")":j.15.29=(i/2d);i+=5;13(i<=2d){F=1s(1w.3V,g.1I)}})()};18 n=16(j){18 m=g.19%2;13(H==1){M()}13(E==1){18 Z=j>0?j-1:g.1b;g.E[g.d]=g.c[g.d];j>0?g.c[g.d]=(j-1)*g.1c:0;g.E.15[g.w]=Z==g.C?0:r*Z+"1i";M(g.E)}13(g.q>0){13(g.q>=33||g.q<10){g.c.2c.1Q.30=1a.2l(1a.3U()*22)}g.c.2c.1Q.3T();g.c.2c.1Q.3S()}13(g.j==1){q=1s(n,g.1n)}1f{28(s);h=C=c=g.i=0;13(g.I==1&&g.k>0){13((g.19==2||g.19==0)&&g.c[U]-r-g.c[g.d]<g.1d){g.1d=g.c[U]-r-g.c[g.d]}13(m&&g.c[g.d]<g.1d){g.1d=g.c[g.d]}}13(g.B==1&&g.u==0){g.1b=1k(g.c[g.d]/O)+2;13(g.I==1){13(k==1){13(g.1b>g.C){g.1b=1}}1f{13(m){g.J==1?g.1b=0:g.1b-=2;13(g.1b<=0){g.1b=1}}1f{13(g.1b>=g.C){g.1b=g.C}}}}1f{13(g.1b>g.C){g.1b-=g.C}}13(g.r==1&&g.s==0){1t(18 j=0;j<g.C;j++){g.v[j].2b=""}g.I==0&&H==0&&g.q==0&&k==0&&m?g.v[g.1b+g.C-2>g.C?g.1b-3:g.1b+g.C-3].2b=f:g.v[g.1b-1].2b=f}}13(g.I==1&&(Q==1||g.C>1)){13((I==22||I==24)&&((!m&&g.1b==2)||(m&&g.1b==g.C-1))){2m("");g.k="3R"}13((I==23||I==24)&&(Q==1||(!m&&g.1b==g.C)||(m&&g.1b==1))){g.k="2w"}13((I==25||I==27)&&((!m&&g.1b==2)||(m&&g.1b==g.C-1))){g.k="3Q"}13((I==26||I==27)&&(Q==1||(!m&&g.1b==g.C)||(m&&g.1b==1))){g.k="2Z"}}13(g.I==1&&g.21>=0){g.21=-1;g.3O()}13(y){g.1d=D(m)}s=2u(x,g.1I);g.3N()}};18 D=16(1g){1t(18 m=0,j=0;m<L;m++){18 Z=(Z=g.c.3F("3P")/1+1||1)>J?1:Z;g.c.2V("3P",Z);13(1g){Z=J-Z+1}j+=w[Z-1]}17 j};g.2Q=16(j){13(g.i==1){18 i=-1;13(1u 1w[0]=="4Q"){i=1w[0]}13(1u 1w[0]=="2a"){u=i=P[1w[0].1P().2v()]}13(i<0||i>3){2m("4P 4O 4N!");17 1l}13(g.21==i){17 1l}g.19=i;13(1u 1w[0]=="2a"||g.I==1){u=g.19}g.2X()}};g.3H=g.3O=g.3N=g.3G=16(){};g.2X=16(){1O(q);q=1s(n,1w[0])};g.3L=16(i){1m.3M=1v;1s(16(){1m.3M=16(){g.3L()}},20);g.3K();g.2Y()};g.3K=16(){g.3J();g.c.1o=g.n;g.c.2V("2U",g.c[g.d]=g.i=h=C=0);g.i=-1};g.2p=16(){13(g.i==2&&!1w[0]){g.i=c>1?0:1;s=2u(x,g.1I);17 1l}13(g.i==0){28(s);s=2u(x,g.1I)}13(g.i==1){g.2X(g.1n)}};g.3J=16(){13(g.i!=2){g.2q();g.i=2}};g.2q=g.4M=g.4L=16(){1O(K);28(s);1O(q)};18 A=16(){13(L>0){13(X){M(X)}}18 j=g.B==0?g.c:g.D,Z=g.19%2;18 m=Z?b.1j-1:0;X=b[m].4K(1V);g.1d=b[m][U];13(L>0){S.m?X.15.2t="2W(29 = 0)":X.15.29=0}Z?j.4J(X,j.1r[0]):j.3I(X);j.4I(b[m]);Z?g.c[g.d]=g.1d:g.c[g.d]=g.c[U]-r-g.1d;13(Z){b.4H(X);b.4G()}1f{b.4F(X);b.4E()}};18 o=16(){28(s);h=C=c=1-(g.i=1);g.1d=O;g.19=u;g.k=T;13(g.u==1){17 1l}13(g.I==1){13(k==1){u=g.19=G?5-g.19:1-g.19}1f{13(g.c[g.d]==0||g.c[g.d]>=g.c[U]-r){13(Q){A()}1f{13(g.J){g.1d=u%2?O:g.c[g.d]}g.21=g.19;g.3H();u=g.19=G?5-g.19:1-g.19}}}}g.3G();q=1s(n,g.1n)};18 d=16(){t*=2;g.y=(t||g.c[U])/2;13(k==0&&g.y<=r+g.1c&&g.I==0){13(g.B==1){18 j=g.c.3F("2U")/1+1||1;g.c.2V("2U",j);13(j<5){g.G();1s(d,0)}}1f{g.c.1o=g.n}17 1l}13(g.I==1){g.21=G?5-g.19:1-g.19}13(g.f==1){1t(W=0;W<p.1j;W++){18 i=p[W][0];i.15.1Z=p[W][1];i.15.1N="1Y";i.15.3E="4D";i.15.1H=p[W][2]}}13(g.1n>0&&g.2T){g.2T.2R=16(){g.2Q(G?5-g.19:1-g.19)}}13(g.1n>0&&g.2S){g.2S.2R=16(){g.2Q(g.19)}}g.c[g.d]=g.i=h=C=0;13(Q){13(!g.19%2){g.c[g.d]=g.c[U]}A()}Y=1a.2l(g.1d/g.1c);13(g.1X>=4C){g.i=1;13(g.1X==4B){g.1n=3D}g.1X=3D;17}1s(16(){13((g.1d>=0&&(g.B==0||(g.B==1&&(g.r==0||g.r==1)))&&g.l)||(g.1n==0&&g.1d==-2&&g.l)){g.l()}n()},g.1X-2O)};13(k==1){g.1W=16(){13(E==1||H==1){o();17 g.c[g.d]=g.1b==1?0:r*(g.1b-1)}18 i=g.19%2;I>0?c+=h:c+=g.1c;13((I==0&&c>=g.1d&&g.1n>0)||(I>0&&h>Y)){i?g.E.15[g.w]=(1k(g.E.15[g.w])-(g.1d-g.1c-c))+"1i":g.E.15[g.w]=(1k(g.E.15[g.w])+(g.1d-g.1c-c))+"1i";o();g.c[g.d]=g.E[g.d];i?g.E.15[g.w]=-r+g.c[g.d]+"1i":g.E.15[g.w]=r+g.c[g.d]+"1i";g.1b==g.C?g.1b=1-(g.E[g.d]=0):g.E[g.d]=r*(g.1b)}1f{13(I>0){C+=(g.1c=1a.2l(S.1M[g.k](h++,g.1d,Y))-C)}i?g.E.15[g.w]=(1k(g.E.15[g.w])+g.1c)+"1i":g.E.15[g.w]=(1k(g.E.15[g.w])-g.1c)+"1i"}}}1f{13(k==2){g.1W=16(){g.1c=g.1d;2P(1G.19%2){1A 0:13(g.c[g.d]>=g.y&&g.I==0){g.c[g.d]-=g.y}g.c[g.d]+=g.1c;1B;1A 1:13(g.c[g.d]<=g.1c&&g.I==0){g.c[g.d]+=g.y}g.c[g.d]-=g.1c}o()}}1f{13(I>0){g.1W=16(){c+=h;13(h<=Y){C+=(g.1c=1a.2l(S.1M[g.k](h++,g.1d,Y))-C);13(g.c[g.d]<=g.1c&&g.I==0){g.c[g.d]+=g.y}g.19%2?g.c[g.d]-=g.1c:g.c[g.d]+=g.1c}1f{13(g.c[g.d]>g.y&&g.I==0){g.c[g.d]-=g.y}o()}}}1f{g.1W=16(){18 i=g.19%2;c+=g.1c;13((c>=g.1d&&g.1n>0)||(g.I==1&&c>g.1c&&(g.c[g.d]<=0||g.c[g.d]>=g.c[U]-r))){i?g.c[g.d]-=g.1d+g.1c-c:g.c[g.d]+=g.1d+g.1c-c;o();17}2P(i){1A 0:13(g.c[g.d]>=g.y&&g.I==0){g.c[g.d]-=g.y}g.c[g.d]+=g.1c;1B;1A 1:13(g.c[g.d]<=g.1c&&g.I==0){g.c[g.d]+=g.y}g.c[g.d]-=g.1c}}}}}1s(d,2O)};1y.3C.l=16(){18 g=1G,f=1v,h=1v,i=0,j=0,b=0,d=0;18 a=16(k){18 k=k||1m.1z;13(g.1n!=0||(k.3B&&k.3B!=1)||(k.3A&&k.3A!=1)||g.i==2||g.i==-1){17 1l}13(i==0){g.i=i=1;g.2q();k.3z?k.3z():k.4A=1V;k.3y?k.3y():k.4z=1l;b=g.c[g.d];j=g.19>1?1m.1z?k.2N:k.2M:1m.1z?k.2L:k.2K;f=k.4y||k.4x;h=f.15.2J;f.15.2J="4w";13(1y.m){f.4v();1q.2s("3x",e);1q.2s("3v",c)}1f{1q.2r("3u",e,1l);1q.2r("3s",c,1l)}}};18 e=16(m){18 m=m||1m.1z;d=g.19>1?1m.1z?m.2N:m.2M:1m.1z?m.2L:m.2K;18 k=j-d+b;13(k<=0||k>=g.y){k<=0?g.c[g.d]+=g.y:g.c[g.d]=g.y-k;j=g.19>1?1m.1z?m.2N:m.2M:1m.1z?m.2L:m.2K;b=g.c[g.d];k=j-d+b}g.c[g.d]=k};18 c=16(k){13(1y.m){f.4u();1q.3w("3x",e);1q.3w("3v",c)}1f{1q.3t("3u",e,1l);1q.3t("3s",c,1l)}i=g.j=0;f.15.2J=h;g.2p()};13(g.I==0){1y.m?g.c.2s("4t",a):g.c.2r("4s",a,1l)}g.c.2k=16(){13((g.i==0&&g.1n>0)||g.i==2||g.i==-1){17 1l}g.j=1;g.2q()};g.c.2I=16(){13(g.j==1){g.j=0;g.2p()}}};','|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||if||style|function|return|var|Direction|Math|Counter|Step|ScrollStep|ai|else|aa|ab|px|length|parseInt|false|window|DelayTime|innerHTML|ah|document|childNodes|setTimeout|for|typeof|null|arguments|PI|Marquee|event|case|break|Height|Width|af|ae|this|top|Timer|width|td|pow|Tween|display|clearTimeout|toString|revealTrans|height|ac|75|currentStyle|true|Scroll|WaitTime|none|position||Bound|||||||clearInterval|opacity|string|className|filters|100|MSCLASS_TEMP_HTML|HiddenID|SwitchType|tr|70158|getComputedStyle|onmouseover|round|alert|ag|sin|Continue|Pause|addEventListener|attachEvent|filter|setInterval|toLowerCase|inelastic|hidden|left|aj|fontSize|tagName|ad|substr|table|collapse|5625|sqrt|onmouseout|cursor|pageY|clientY|pageX|clientX|800|switch|Run|onclick|NextBtn|PrevBtn|fixnum|setAttribute|alpha|Play|Start|inback|Transition|overflow|replace||nowrap|noWrap|nodeType|listStyle|padding|object|borderBottomWidth|borderTopWidth|marginBottom|marginTop|borderRightWidth|borderLeftWidth|marginRight|marginLeft|inline|border|static|1000|all|outbounce|undefined|asin|abs|MSClass|mouseup|removeEventListener|mousemove|onmouseup|detachEvent|onmousemove|preventDefault|stopPropagation|button|which|prototype|3600000|visibility|getAttribute|OnPause|OnBound|appendChild|Stop|Reset|ReStart|onresize|OnScroll|UnBound|nownum|outback|outelastic|play|apply|random|callee|overflowY|overflowX|absolute|pages|The|12px|UL|margin|block|BakStep|parseFloat|scrollHeight|scrollWidth|cellpadding|cellspacing|keep|word|space|white|parentNode|inbounce|525|cos|0px|medium|auto|120|MSClassID|97|99|79|constructor|mousedown|onmousedown|releaseCapture|setCapture|move|target|srcElement|returnValue|cancelBuble|100000|60000|visible|shift|push|pop|unshift|removeChild|insertBefore|cloneNode|Terminate|Destroy|set|wrong|Parameters|number|ceil|div|createElement|whiteSpace|actual|than|less|numbers|tab|or|id|continue|TabTimeout|TabEvent|TabID|both|clear|cssFloat|styleFloat|100000px|OL|ContentID|10000px|relative|Duration|default|in|scrollTop|scrollLeft|inoutbounce|984375|625|9375|inoutback|inoutelastic|inoutcirc|outcirc|incirc|inoutexpo|outexpo|inexpo|inoutsine|outsine|insine|inoutquint|outquint|inquint|inoutquart|outquart|inquart|inoutcubic|outcubic|incubic|inoutquad|outquad|inquad|def|keydown|onkeydown|113|witch|keyCode|1em|30pt|rollbacktop|alterleft|right|down|bottom|up|alterup|altertop|rollbackleft|active|AutoStart|NextBtnID|PrevBtnID|error|initialization|join|com|21cn|zhadan007|333|Cui|Yongxiang|html|script|net|popub|www|http|JS|Scrolling|Uninterrupted|General|Of|Class|BETA|111101|getElementById|new'.split('|')]))
	